.loading{
    position: relative;
    width: 100px;
    height: 100px;
  }
  
  .loading::before,.loading::after{
    content: '';
    position: absolute;
    cursor: pointer;
    background: black;
    border-radius: 50%;
    width: 0;
    height: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto auto;
    animation: spand-out 1.5s linear infinite;
  }
  
  .loading::after{
    animation-delay: 0.75s;
  }
  
  @keyframes spand-out{
    0%{
      width: 0;
      height: 0;
      opacity: 1;
    }
    100%{
      width: 100%;
      height: 100%;
      opacity: 0;
    }
  }